Carbon


tokenUnknown

Header: Script.h

enum {
    tokenUnknown = 0,
    tokenWhite = 1,
    tokenLeftLit = 2,
    tokenRightLit = 3,
    tokenAlpha = 4,
    tokenNumeric = 5,
    tokenNewLine = 6,
    tokenLeftComment = 7,
    tokenRightComment = 8,
    tokenLiteral = 9,
    tokenEscape = 10,
    tokenAltNum = 11,
    tokenRealNum = 12,
    tokenAltReal = 13,
    tokenReserve1 = 14,
    tokenReserve2 = 15,
    tokenLeftParen = 16,
    tokenRightParen = 17,
    tokenLeftBracket = 18,
    tokenRightBracket = 19
};

Constant descriptions

tokenUnknown

Has no existing token type.

tokenWhite

Represents a whitespace character.

tokenLeftLit

Represents an opening literal marker.

tokenRightLit

Represents a closing literal marker.

tokenAlpha

Represents an alphabetic token.

tokenNumeric

Represents a numeric token.

tokenNewLine

Represents a new line.

tokenLeftComment

Represents an opening comment marker.

tokenRightComment

Represents a closing comment marker.

tokenLiteral

Represents a literal token.

tokenEscape

Represents an escape character.

tokenAltNum

Represents an alternate number (such as at $B0–$B9).

tokenRealNum

Represents a real number.

tokenAltReal

Represents an alternate real number.

tokenReserve1

Reserved.

tokenReserve2

Reserved.

tokenLeftParen

Represents an opening parenthesis.

tokenRightParen
tokenLeftBracket

Represents an opening square bracket.

tokenRightBracket

Represents a closing square bracket.


© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)